/*
 * Copyright 2010 bedatadriven
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

/**
 * JacobGen generated file --- do not edit
 *
 * (http://www.bigatti.it/projects/jacobgen)
 */
package com.bedatadriven.mso.core;

public class MsoBalloonErrorType {
	private final int value;

	/** msoBalloonErrorNone **/
	public static final MsoBalloonErrorType None = new MsoBalloonErrorType(0);
	/** msoBalloonErrorOther **/
	public static final MsoBalloonErrorType Other = new MsoBalloonErrorType(1);
	/** msoBalloonErrorTooBig **/
	public static final MsoBalloonErrorType TooBig = new MsoBalloonErrorType(2);
	/** msoBalloonErrorOutOfMemory **/
	public static final MsoBalloonErrorType OutOfMemory = new MsoBalloonErrorType(3);
	/** msoBalloonErrorBadPictureRef **/
	public static final MsoBalloonErrorType BadPictureRef = new MsoBalloonErrorType(4);
	/** msoBalloonErrorBadReference **/
	public static final MsoBalloonErrorType BadReference = new MsoBalloonErrorType(5);
	/** msoBalloonErrorButtonlessModal **/
	public static final MsoBalloonErrorType ButtonlessModal = new MsoBalloonErrorType(6);
	/** msoBalloonErrorButtonModeless **/
	public static final MsoBalloonErrorType ButtonModeless = new MsoBalloonErrorType(7);
	/** msoBalloonErrorBadCharacter **/
	public static final MsoBalloonErrorType BadCharacter = new MsoBalloonErrorType(8);
	/** msoBalloonErrorCOMFailure **/
	public static final MsoBalloonErrorType COMFailure = new MsoBalloonErrorType(9);
	/** msoBalloonErrorCharNotTopmostForModal **/
	public static final MsoBalloonErrorType CharNotTopmostForModal = new MsoBalloonErrorType(10);
	/** msoBalloonErrorTooManyControls **/
	public static final MsoBalloonErrorType TooManyControls = new MsoBalloonErrorType(11);


	private MsoBalloonErrorType(int value) { this.value = value; }
	public int getValue() { return this.value; }
	public static MsoBalloonErrorType valueOf(int value) { return new MsoBalloonErrorType(value); }
	public boolean equals(Object o) {
		if(o == null || o.getClass() != MsoBalloonErrorType.class) return false;
		return ((MsoBalloonErrorType)o).value == value;
	}
	public int hashCode() { return value; }
}
